projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b7c872
)
designware_i2c: remove 10msec delay in i2c_xfer_finish
author
Alexey Brodkin
<
[email protected]
>
Thu, 7 Nov 2013 13:52:33 +0000
(17:52 +0400)
committer
Heiko Schocher
<
[email protected]
>
Wed, 13 Nov 2013 05:22:41 +0000
(06:22 +0100)
This delay applies to any data transfer on I2C bus.
For example 1kB data read with per-byte access (which happens if
environment is stored in I2C EEPROM) takes more than 10 seconds.
Moreover data bus driver has to care about bus state and data transfer,
but not about internal states of attached devices.
Signed-off-by: Alexey Brodkin <
[email protected]
>
Cc: Tom Rini <
[email protected]
>
cc: Armando Visconti <
[email protected]
>
Cc: Stefan Roese <
[email protected]
>
Cc: Albert ARIBAUD <
[email protected]
>
Cc: Heiko Schocher <
[email protected]
>
Cc: Vipin KUMAR <
[email protected]
>
Cc: Tom Rix <
[email protected]
>
Cc: Mischa Jonker <
[email protected]
>
drivers/i2c/designware_i2c.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/designware_i2c.c
b/drivers/i2c/designware_i2c.c
index c5c6015e99555c80621856428eee863388bb0c8e..cb2ac04b609864412a8054888f3420bf35ca0287 100644
(file)
--- a/
drivers/i2c/designware_i2c.c
+++ b/
drivers/i2c/designware_i2c.c
@@
-249,9
+249,6
@@
static int i2c_xfer_finish(void)
i2c_flush_rxfifo();
- /* Wait for read/write operation to complete on actual memory */
- udelay(10000);
-
return 0;
}